package cn.demo.mapper;

import cn.demo.pojo.User;
import org.springframework.stereotype.Repository;

@Repository//Spring 管理的是key UserMapperImp value 反射机制
public class UserMapperImp implements UserMapper {
    @Override
    public void addUser(User user){
        System.out.println("完成"+user.getName());
    }
}
